#include <iostream>

using namespace std;

class Shape
{
public:
	//	Default constructor
	Shape() {};

	//	return number of sides
	int GetNumberOfSides(void)
	{
		return 0;
	}

};

class Square: public Shape
{
public:
	int GetNumberofSides(void)
	{
		return 4;
	}
};

int main()
{
	Shape a;
	Square tmpSquare;

	cout << "MyShape has " << a.GetNumberOfSides() << " sides" << endl;
	cout << "Square has " << tmpSquare.GetNumberOfSides() << " sides" << endl;
}
